package com.norteksoft.erm.model;

/**
 * @hibernate.class table="ERM_GROUPRIGHT"
 * @deprecated
 */
public class GroupRight extends Right {

	private static final long serialVersionUID = -4759078113718628842L;

	private Group group;

	public GroupRight() {
	}

	public GroupRight(Right gr) {
		super.setRightID(gr.getRightID());
		super.setInheritable(gr.getInheritable());
		super.setOperation(gr.getOperation());
	}

	/**
	 * @hibernate.many-to-one name="group" column="GROUPID"
	 *                        class="com.norteksoft.erm.model.Group"
	 */

	public Group getGroup() {
		return group;
	}

	public void setGroup(Group group) {
		this.group = group;
	}
}
